Crate rustup_toolchain
source ·Expand description
Utilities for working with rustup
toolchains.
Ensuring a toolchain is installed
This checks if a toolchain is installed, and installs it if not.
rustup_toolchain::ensure_installed("nightly").unwrap();
Enums
- Enumerates all errors that can currently occur within this crate.
Functions
- ensure_installedDeprecatedDeprecated
- Installs a toolchain if it is not already installed.
- Check if a toolchain is installed.
Type Aliases
- Shorthand for
std::result::Result<T, rustup_toolchain::Error>
.